class DKBruteBase extends SRMonster;

#exec OBJ LOAD FILE=WPC_BRUTE_T.utx
#exec OBJ LOAD FILE=KFWeaponSound.uax

var bool bChargingPlayer;
var bool bClientCharge;
var bool bFrustrated;
var int MaxRageCounter; // Maximum amount of players we can hit before calming down
var int RageCounter; // Decreases each time we successfully hit a player
var float RageSpeedTween;
var int TwoSecondDamageTotal;
var float LastDamagedTime;
var int RageDamageThreshold;
var int BlockHitsLanded; // Hits made while blocking or raging

var name ChargingAnim;
var Sound RageSound;

// View shaking for players
var() vector	ShakeViewRotMag;
var() vector	ShakeViewRotRate;
var() float		ShakeViewRotTime;
var() vector	ShakeViewOffsetMag;
var() vector	ShakeViewOffsetRate;
var() float		ShakeViewOffsetTime;

var float PushForce;
var vector PushAdd; // Used to add additional height to push
var float RageDamageMul; // Multiplier for hit damage when raging
var float RageBumpDamage; // Damage done when we hit other specimens while raging
var float BlockAddScale; // Additional head scale when blocking
var bool bBlockedHS;
var bool bBlocking;
var bool bServerBlock;
var bool bClientBlock;
var float BlockDmgMul; // Multiplier for damage taken from blocked shots
var float BlockFireDmgMul;
var float BurnGroundSpeedMul; // Multiplier for ground speed when burning

replication
{
	reliable if(Role == ROLE_Authority)
		bChargingPlayer,
		bServerBlock,
		RageCounter,
		MaxRageCounter,
		TwoSecondDamageTotal,
		RageDamageThreshold;
}

//--------------------------------------------------------------------------
// NOTE: All Code resides in the child class(this class was only created to
//         eliminate hitching caused by loading default properties during play)
//--------------------------------------------------------------------------

defaultproperties
{
	MenuName="Brute"
	ScoringValue=350
	Mesh=SkeletalMesh'WPC_BRUTE.Brute_Freak'
	Skins(0)=Combiner'WPC_BRUTE_T.WPC.Brute_Final'
	
	MeleeAnims(0)="BruteAttack1"
	MeleeAnims(1)="BruteAttack2"
	MeleeAnims(2)="BruteBlockSlam"
	MovementAnims(0)="BruteWalkC"
	MovementAnims(1)="BruteWalkC"
	WalkAnims(0)="BruteWalkC"
	WalkAnims(1)="BruteWalkC"
	WalkAnims(2)="RunL"
	WalkAnims(3)="RunR"
	IdleCrouchAnim="BruteIdle"
	IdleWeaponAnim="BruteIdle"
	IdleRestAnim="BruteIdle"
	IdleHeavyAnim="BruteIdle"
	IdleRifleAnim="BruteIdle"
	ChargingAnim="BruteRun"
	
	MeleeAttackHitSound=SoundGroup'WPC_Brute_S.Brute.Brute_HitPlayer'
	JumpSound=SoundGroup'WPC_Brute_S.Brute.Brute_Jump'
	AmbientSound=Sound'WPC_Brute_S.Idle.FP_IdleLoop'
	MoanVoice=SoundGroup'WPC_Brute_S.Brute.Brute_Talk'
	HitSound(0)=SoundGroup'WPC_Brute_S.Brute.Brute_Pain'
	DeathSound(0)=SoundGroup'WPC_Brute_S.Brute.Brute_Death'
	ChallengeSound(0)=SoundGroup'WPC_Brute_S.Brute.Brute_Challenge'
	ChallengeSound(1)=SoundGroup'WPC_Brute_S.Brute.Brute_Challenge'
	ChallengeSound(2)=SoundGroup'WPC_Brute_S.Brute.Brute_Challenge'
	ChallengeSound(3)=SoundGroup'WPC_Brute_S.Brute.Brute_Challenge'
	RageSound=SoundGroup'WPC_Brute_S.Brute.Brute_Rage'
	
	KFRagdollName="FleshPound_Trip"
	RagDeathUpKick=100.000000
	SeveredArmAttachScale=1.300000
	SeveredLegAttachScale=1.200000
	SeveredHeadAttachScale=1.500000
	
	ShakeViewRotMag=(X=500.000000,Y=500.000000,Z=600.000000)
	ShakeViewRotRate=(X=12500.000000,Y=12500.000000,Z=12500.000000)
	ShakeViewRotTime=6.000000
	ShakeViewOffsetMag=(X=5.000000,Y=10.000000,Z=5.000000)
	ShakeViewOffsetRate=(X=300.000000,Y=300.000000,Z=300.000000)
	ShakeViewOffsetTime=3.500000
	
	CollisionRadius=26
	CollisionHeight=44
	bUseExtendedCollision=True
	ColOffset=(Z=52.000000)
	ColRadius=35
	ColHeight=25
	HeadHeight=2.500000
	HeadScale=1.300000
	OnlineHeadshotOffset=(X=22.000000,Z=68.000000)
	OnlineHeadshotScale=1.300000
	BlockAddScale=2.5

	DamageForce=25000
	MeleeRange=85
	MeleeDamage=15
	RageDamageMul=1.34
	RageBumpDamage=4
	SpinDamConst=15.000000
	SpinDamRand=15.000000
	PushForce=860
	PushAdd=(Z=150)//180

	bMeleeStunImmune=true
	GroundSpeed=140.000000
	WaterSpeed=120.000000
	HealthMax=6000.000000
	Health=6000
	HeadHealth=3000.000000
	PlayerCountHealthScale=0.200000
	PlayerNumHeadHealthScale=0.200000
	BlockDmgMul=0.05
	BlockFireDmgMul=1.0
	RageDamageThreshold=850

	Mass=800.000000
	PrePivot=(Z=0.000000)
	RotationRate=(Yaw=45000,Roll=0)
	
	ZombieFlag=3
	bFatAss=true
	Intelligence=BRAINS_Human
	BleedOutDuration=7.000000
	MotionDetectorThreat=5.000000
}
